<template>
	<view class="listView" >
			<image src="https://zhcxservice.145u.net/Images/ZHCX/huodong.png" style="width: 100%;height: 100%;" @click="imageClick"></image>
	</view>
</template>

<script>
	var _self;
	export default {
		
		onLoad() {
			_self = this;
			//_self.isPullDown(false)
		},
		// 禁止下拉刷新
		            
		methods: {
			imageClick:function(){
				console.log(111);
				uni.getStorage({
					key: 'userInfo',
					success: function(res) {
						uni.navigateTo({
							url: '../../pages_IntercityExpress/wuYiXinQuZhuanXian/wuYiXinQuZhuanXian'
						})
					},
					fail: function() {
						uni.$emit('getAuthorize', {
							data: '授权'
						});
					}
				})
			}
			// isPullDown(isPull) {
			//     //获取当前 Webview 窗口对象
			//     const pages = getCurrentPages();
			//     const page = pages[pages.length - 1];
			//     const currentWebview = page.$getAppWebview();
			//     //根据状态值来切换禁用/开启下拉刷新
			//     currentWebview.setStyle({
			//         pullToRefresh: {
			//             support: isPull,
			//             // style: plus.os.name === 'Android' ? 'circle' : 'default',
			//             style: 'circle'
			//         }
			//     });
			// },
			
		}
	}
</script>

<style lang="scss" scoped>
	

	.listView {
		flex: 1;
		height: 100vh;	
	}

	
</style>
